<?php
	include("connectDB.php");

	#GET POSTED DATA:
	$number = $_POST['number'];

	$result = mysql_query("SELECT * FROM users WHERE user=" . $number);

	while($row = mysql_fetch_array($result))
	  {
	  echo $row['user'] . "@" . $row['latitude'] . "@" . $row['longitude'] . "@" . $row['timestamp'] . "\n";
	  }
	mysql_close($con);
?>